package mediator.impl;

import mediator.AbstractBroadCast;
import mediator.Speaker;

public class BroadCast extends AbstractBroadCast {
    @Override
    public void send(Speaker speaker, String message) {
        hearAbleList.forEach(e -> {
            if (e != speaker)
                e.hear(speaker, message);
        });
    }
}
